
const Router = require('koa-router')
const user = require('../controllers/users')


const router = new Router({prefix: '/users'})

router.get('/', user.fild)
router.post('/login', user.login)
router.post('/create', user.create)


module.exports = router
